package com.freight.msg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "msg_cust_category")
@TableName("msg_cust_category")
@ApiModel(value = "咨询与投诉自助问msg_complaints_types答类目")
public class MsgCustCategory extends FreightBaseEntity {

    @ApiModelProperty(value = "类目信息")
    private String categoryMess;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "类型 0货主 1司机 2平台 4所有")
    private String categoryType;

}
